{extend name="layout:main" /}

{block name="css"}
<link type="text/css" rel="stylesheet" href="/static/css/News.css">
{/block}

{block name="content"}
<div class="logo-middle">
    <img src="/static/img/logo-middle.png" width="881" height="84"/>
</div>


<div class="knowledge">
    <p class="title">{$sortInfo.title}</p>
    <!--列表内容开始-->
    <div class="newsList">
        <ul>
            {foreach $pageInfo as $item}
            <li><span>{$item.created_at}</span><a href="{:url('article/detail',['id'=>$item.id])}">{$item.title}</a></li>
            {/foreach}
        </ul>
    </div>

    <!--页码开始-->
    <div class="page">
        <a href="{$sortInfo->getUrl()}">首页</a>
        {$pageInfo->render()|raw}
    </div>
</div>


<div class="clear"></div>
{/block}
